package com.yc.navy.springmvc.core.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)	//用在方法上
@Retention(RetentionPolicy.RUNTIME)	//有效期
@Documented	//说明要生产帮助文档
public @interface RestController {
	public String value() default "";
}
